package tt.dz.service.imp.middleware;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import org.springframework.transaction.annotation.Propagation;
import org.springframework.transaction.annotation.Transactional;
import tt.dz.dao.ext.base.OmsErrorTypeDao;
import tt.dz.entity.base.OmsErrorType;
import tt.dz.service.TestService;

/**
 * testservice
 * @author 谢
 *
 */
@Service @Transactional(propagation = Propagation.REQUIRED, rollbackFor = Exception.class)
public class TestServiceImp implements TestService {

	@Resource
	private OmsErrorTypeDao omsErrorTypeDao;
	
	@Override
	public List<OmsErrorType> testGetEmbedList() {
		return omsErrorTypeDao.pagingFindValidErrorTypeEmbedList(null, null, null, null, null);
	}

}
